import { login, getUserInfo, getEmployeeBaseInfo } from './user'
import { getDepartments, addDepartments, delDepartments, updateDepartments, getDepartDetail } from './departments.js'
import { getEmployeesSimple, getEmployees, addEmployees, delEmployee, importEmployee, saveUserDetailById, getPersonalDetail, updatePersonal, updateJob, getJobDetail } from './emplovees.js'
import { getCompanyInfo, getRoleList, addRole, deleteRole, updateRole, getRoleDetail } from './setting.js'

export const loginAPI = login
export const getUserInfoAPI = getUserInfo
export const getEmployeeBaseInfoAPI = getEmployeeBaseInfo
export const getDepartmentsAPI = getDepartments
export const getEmployeesSimpleAPI = getEmployeesSimple
export const addDepartmentsAPI = addDepartments
export const delDepartmentsAPI = delDepartments
export const updateDepartmentsAPI = updateDepartments
export const getDepartDetailAPI = getDepartDetail
export const getCompanyInfoAPI = getCompanyInfo
export const getRoleListAPI = getRoleList
export const addRoleAPI = addRole
export const deleteRoleAPI = deleteRole
export const updateRoleAPI = updateRole
export const getRoleDetailAPI = getRoleDetail
export const getEmployeesAPI = getEmployees
export const addEmployeesAPI = addEmployees
export const delEmployeeAPI = delEmployee
export const importEmployeeAPI = importEmployee
export const saveUserDetailByIdAPI = saveUserDetailById
export const getPersonalDetailAPI = getPersonalDetail
export const updatePersonalAPI = updatePersonal
export const updateJobAPI = updateJob
export const getJobDetailAPI = getJobDetail
